520 & "POS",15,9;"Enter the name of the Investment or 1 for a list of": & "POS",15,10;"Investments on file.": & "POS",30,11;"(RETURN to exit to Menu)": & "POS",35,12: RETURN
530 REM --- COMPARE DATES ---
540 B = 0: IF VAL( RIGHT$(D1$,2)) > VAL( RIGHT$(D2$,2)) THEN B = 1: RETURN
550 IF VAL( RIGHT$(D1$,2)) < VAL( RIGHT$(D2$,2)) THEN RETURN
560 IF VAL( LEFT$(D1$,2)) > VAL( LEFT$(D2$,2)) THEN B = 1: RETURN
570 IF VAL( LEFT$(D1$,2)) < VAL( LEFT$(D2$,2)) THEN RETURN
580 IF VAL( MID$ (D1$,4,2)) = > VAL( MID$ (D2$,4,2)) THEN B = 1
590 RETURN
600 REM
610 REM <<------- DATE ENTRY VALIDATION ------->
620 REM
630 REM --- VALIDATE MONTH ----
640 C = 0: IF VAL(T$(B)) <1 OR VAL(T$(B)) >12 THEN C = 1
650 RETURN
660 REM --- VALIDATE DAY ---
670 C = 0: IF VAL(T$(B)) <1 OR VAL(T$(B)) >31 THEN C = 1
680 RETURN
690 REM --- VALIDATE YEAR ---
700 C = 0: IF LEN(T$(B)) < >2 THEN C = 1
710 RETURN
720 REM
730 REM <<--- UPDATE MARKET PRICES SUBROUTINE --->>
740 REM
750 N$ = "<< UPDATE MARKET PRICES >>": GOSUB 480
760 & "POS",33,5;"1) Manual Data Entry": & "POS",33,6;"2) Integrate Compuserve Data": & "POS",33,7;"3) Return to Main Menu": & "POS",33,9
770 & "IU","#=1..3";"#";A$: IF A$ = "" GOTO 760
780 A = VAL(A$): ON A GOTO 910,800,3580
790 REM --INTEGRATE CIS DATA/ PREP --
800 HOME : & "POS",25,5;"Use a Compuserve Data Text File": & "WINDOW",8,23,8: HOME
810 PRINT "This option allows you to automatically update your market data"
820 PRINT "for investments on file using formatted data downloaded from the"
830 PRINT "Compuserve Information Service. Read the documentation for": PRINT "complete details on how to use this feature.": PRINT
840 PRINT "The data text file must be on the data disk and it must be named"
850 & "POS",36,15;"CIS.DATA": & "POS",33,17;"1) Begin Auto Update"
1630 CALL -198: & "CENTER","<< THERE ARE 100 INVESTMENTS ON FILE >>": PRINT : PRINT "This is the maximum number of investments that can be handled by one data"
1640 PRINT "disk. You must either consolidate some of your lot numbers of the same": PRINT "investment or use a different data disk for your new investments."
1650 PRINT "If you are going to switch to a new data disk, you must re-boot.": PRINT : PRINT : & "CENTER","PRESS ANY KEY TO CONTINUE": CALL -756: GOTO 3580
1660 REM
1670 REM <<--- RECORD DIVIDEND/ CAP GAIN SUBROUTINE --->>
1680 REM
1690 N$ = "<< DIVIDEND/ CAP GAIN >>": GOSUB 480: & "POS",30,6;"1) Record Dividend.": & "POS",30,7;"2) Record Capitol Gain.": & "POS",30,9;"Return to Exit."